package com.lmind.core.gis;

import java.io.Serializable;

public class Location implements Serializable {
	
	/**
	 * 纬度
	 */
	private double latitude;
	
	/**
	 * 经度
	 */
	private double longitude;
	
	/**
	 * 位置信息
	 */
	private String address;
	
	public Location() {
	}
	
	public Location(double latitude, double longitude) {
		this(latitude, longitude, null);
	}

	public Location(double latitude, double longitude, String address) {
		super();
		this.latitude = latitude;
		this.longitude = longitude;
		this.address = address;
	}

	public double getLatitude() {
		return latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public String getAddress() {
		return address;
	}

	@Override
	public String toString() {
		return "Location [latitude=" + latitude + ", longitude=" + longitude
				+ ", address=" + address + "]";
	}
	
}
